package oopday04;

public class StaticFinalDemo {
    public static void main(String[] args) {
        System.out.println(Loo.PI);//通过类名点来访问，且值无法改变
    }
}

class Loo{
    public static final double PI = 3.14;//常量声明的同时需要初始化
}
